<div class="content4 content41 page field-section" data-page="cargoRecord">
	<p class="location">
		当前位置:<label class="locationInfo">融资项目</label>
	</p>
	<div class="d2 platformBtns">
		<span class="span1"><a class="financeDetailInfo" >融资项目信息</a></span>
		<span class="span3">|</span><span class="span2"><a class="evidentiaryCategorys">证明材料</a></span>
		<span class="span3">|</span><span class="span4"><a class="financingDetailDynamic" >融资动态</a></span>
		<input type="button" class="button-submit float-right none" value="同意融资" />
		<input type="button" class="button_cancel none" value="融资驳回" />
		
		<div class="auditState"><a class="submit-financeContract none" >签订融资合同</a><a class="submit-supervisionContract" >签订监管合同</a></div>
		<input type="button" class="button-submit-contract float-right none" value="合同签定" />
		<input type="button" class="button-submit-supervision  float-right none" value="通知监管" />
		<input type="button" class="button-submit-recieveNotice  float-right none" value="通知装货" />
		
	</div>
	<div class="page-content">
		<div class="page-content-main">
			
			<div class="page-content-main-content">
				<div class="page-content-main-content-item">
					<div class="content cargoRecordContent">
						<script type="text/template" id="cargoRecordTpl">
										{@each datas as it}
						<table class="table cargoRecordTable">
							<thead>
								<tr class="tr_style table-data" tallyingId="${it.tallyingId}">
									<th>理货单号:${it.tallyingNumber}</th>
									<th>完成时间:${it.clerkName}</th>
									<th>理货员:${it.clerkName}</th>
									<th>状态：
									{@if it.tallyingState==0}
									未知
									{@else if it.tallyingState==1}
									待理货
									{@else if it.tallyingState==2}
									未接受
									{@else if it.tallyingState==3}
									理货中
									{@else if it.tallyingState==4}
									已完成
									{@else if it.tallyingState==5}
									上报
									{@/if}
									</th>
									<th colspan="2">
									{@if it.supervisionState===1}
									<label class="button_confirmTallying"/>
									
									{@else if it.supervisionState===2}
									<label class="button_superviseTallying"/>
									{@/if}
										</th>
								</tr>
							</thead>
							<tbody class="tallyingTable">
								<tr class="tableTr">
									<td>箱号</td>
									<td>箱型尺寸</td>
									<td>运单号</td>
									<td>理货时间</td>
									<td>理货状态</td>
									<td>监管状态</td>
									<td>操作</td>
								</tr>
								{@each it.containerInventorys as that}
								<tr class="tr_style table-data" inventoryId="${that.inventoryId}">
									<td>${that.caseNumber}</td>
									<td>${that.caseSize}</td>
									<td>${that.waybillNumber}</td>
									<td>${that.createDateTime}</td>
									<td>
									{@if that.tallyingState==0}
									待理货
									{@else if that.tallyingState==1}
									已理货
									{@/if}
									</td>
									<td>
									{@if that.supervisionState==0}
									未知
									{@else if that.supervisionState==1}
									已上报
									{@else if that.supervisionState==2}
									收货确认
									{@else if that.supervisionState==3}
									已监管
									{@else if that.supervisionState==4}
									解除监管
									{@/if}
									</td>
									<td><a class="tallyingDetail" href="javascript:void(0)">详情</a>
										<!--&nbsp;||&nbsp;<a class="tallyingA" href="javascript:void(0)">理货</a>-->
									</td>
								</tr>
								{@/each}
							</tbody>
						</table>
						{@/each}
						</script>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--确认框-->
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
				</div>
			</div>
			<div id="fullBg" class="fullBg none"></div>
</div>